package com.project.entity.activity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import com.project.entity.BaseEntity;

@Entity
@Table(name="b_activity_guest")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
@DynamicInsert
@DynamicUpdate
public class ActivityGuest extends BaseEntity{

	private static final long serialVersionUID = 5258774201072932801L;

	@Column(name="activity_id")
	private Long activityId;//活动id
	
	@Column(name="name")
	private String name;//姓名
	
	@Column(name="face_img_url")
	private String faceImgUrl;//头像图片地址
	
	@Column(name="intro")
	private String intro;//简介
	
	@Column(name="create_time")
	private Date createTime;//创建时间
	
	@Column(name="update_time")
	private Date updateTime;//修改时间

	public Long getActivityId() {
		return activityId;
	}

	public void setActivityId(Long activityId) {
		this.activityId = activityId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFaceImgUrl() {
		return faceImgUrl;
	}

	public void setFaceImgUrl(String faceImgUrl) {
		this.faceImgUrl = faceImgUrl;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	
}
